/*
 * XML Type:  ObjectRelationType
 * Namespace: http://www.data-archive.ac.uk/dext/schema/draft
 * Java type: uk.da.dext.ObjectRelationType
 *
 * Automatically generated - do not modify.
 */
package uk.da.dext;


/**
 * An XML ObjectRelationType(@http://www.data-archive.ac.uk/dext/schema/draft).
 *
 * This is a complex type.
 */
public interface ObjectRelationType extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ObjectRelationType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("objectrelationtypee950type");
    
    /**
     * Gets the "id" attribute
     */
    java.lang.String getId();
    
    /**
     * Gets (as xml) the "id" attribute
     */
    org.apache.xmlbeans.XmlID xgetId();
    
    /**
     * Sets the "id" attribute
     */
    void setId(java.lang.String id);
    
    /**
     * Sets (as xml) the "id" attribute
     */
    void xsetId(org.apache.xmlbeans.XmlID id);
    
    /**
     * Gets the "objectType" attribute
     */
    uk.da.dext.ObjectRelationType.ObjectType.Enum getObjectType();
    
    /**
     * Gets (as xml) the "objectType" attribute
     */
    uk.da.dext.ObjectRelationType.ObjectType xgetObjectType();
    
    /**
     * True if has "objectType" attribute
     */
    boolean isSetObjectType();
    
    /**
     * Sets the "objectType" attribute
     */
    void setObjectType(uk.da.dext.ObjectRelationType.ObjectType.Enum objectType);
    
    /**
     * Sets (as xml) the "objectType" attribute
     */
    void xsetObjectType(uk.da.dext.ObjectRelationType.ObjectType objectType);
    
    /**
     * Unsets the "objectType" attribute
     */
    void unsetObjectType();
    
    /**
     * Gets the "relationName" attribute
     */
    uk.da.dext.ObjectRelationType.RelationName.Enum getRelationName();
    
    /**
     * Gets (as xml) the "relationName" attribute
     */
    uk.da.dext.ObjectRelationType.RelationName xgetRelationName();
    
    /**
     * True if has "relationName" attribute
     */
    boolean isSetRelationName();
    
    /**
     * Sets the "relationName" attribute
     */
    void setRelationName(uk.da.dext.ObjectRelationType.RelationName.Enum relationName);
    
    /**
     * Sets (as xml) the "relationName" attribute
     */
    void xsetRelationName(uk.da.dext.ObjectRelationType.RelationName relationName);
    
    /**
     * Unsets the "relationName" attribute
     */
    void unsetRelationName();
    
    /**
     * Gets the "otherRelationName" attribute
     */
    java.lang.String getOtherRelationName();
    
    /**
     * Gets (as xml) the "otherRelationName" attribute
     */
    org.apache.xmlbeans.XmlString xgetOtherRelationName();
    
    /**
     * True if has "otherRelationName" attribute
     */
    boolean isSetOtherRelationName();
    
    /**
     * Sets the "otherRelationName" attribute
     */
    void setOtherRelationName(java.lang.String otherRelationName);
    
    /**
     * Sets (as xml) the "otherRelationName" attribute
     */
    void xsetOtherRelationName(org.apache.xmlbeans.XmlString otherRelationName);
    
    /**
     * Unsets the "otherRelationName" attribute
     */
    void unsetOtherRelationName();
    
    /**
     * Gets the "objectSource" attribute
     */
    java.lang.String getObjectSource();
    
    /**
     * Gets (as xml) the "objectSource" attribute
     */
    org.apache.xmlbeans.XmlIDREF xgetObjectSource();
    
    /**
     * True if has "objectSource" attribute
     */
    boolean isSetObjectSource();
    
    /**
     * Sets the "objectSource" attribute
     */
    void setObjectSource(java.lang.String objectSource);
    
    /**
     * Sets (as xml) the "objectSource" attribute
     */
    void xsetObjectSource(org.apache.xmlbeans.XmlIDREF objectSource);
    
    /**
     * Unsets the "objectSource" attribute
     */
    void unsetObjectSource();
    
    /**
     * Gets the "objectTarget" attribute
     */
    java.lang.String getObjectTarget();
    
    /**
     * Gets (as xml) the "objectTarget" attribute
     */
    org.apache.xmlbeans.XmlIDREF xgetObjectTarget();
    
    /**
     * True if has "objectTarget" attribute
     */
    boolean isSetObjectTarget();
    
    /**
     * Sets the "objectTarget" attribute
     */
    void setObjectTarget(java.lang.String objectTarget);
    
    /**
     * Sets (as xml) the "objectTarget" attribute
     */
    void xsetObjectTarget(org.apache.xmlbeans.XmlIDREF objectTarget);
    
    /**
     * Unsets the "objectTarget" attribute
     */
    void unsetObjectTarget();
    
    /**
     * Gets the "cdate" attribute
     */
    java.util.Calendar getCdate();
    
    /**
     * Gets (as xml) the "cdate" attribute
     */
    org.apache.xmlbeans.XmlDateTime xgetCdate();
    
    /**
     * True if has "cdate" attribute
     */
    boolean isSetCdate();
    
    /**
     * Sets the "cdate" attribute
     */
    void setCdate(java.util.Calendar cdate);
    
    /**
     * Sets (as xml) the "cdate" attribute
     */
    void xsetCdate(org.apache.xmlbeans.XmlDateTime cdate);
    
    /**
     * Unsets the "cdate" attribute
     */
    void unsetCdate();
    
    /**
     * Gets the "mdate" attribute
     */
    java.util.Calendar getMdate();
    
    /**
     * Gets (as xml) the "mdate" attribute
     */
    org.apache.xmlbeans.XmlDateTime xgetMdate();
    
    /**
     * True if has "mdate" attribute
     */
    boolean isSetMdate();
    
    /**
     * Sets the "mdate" attribute
     */
    void setMdate(java.util.Calendar mdate);
    
    /**
     * Sets (as xml) the "mdate" attribute
     */
    void xsetMdate(org.apache.xmlbeans.XmlDateTime mdate);
    
    /**
     * Unsets the "mdate" attribute
     */
    void unsetMdate();
    
    /**
     * Gets the "creator" attribute
     */
    java.lang.String getCreator();
    
    /**
     * Gets (as xml) the "creator" attribute
     */
    org.apache.xmlbeans.XmlString xgetCreator();
    
    /**
     * True if has "creator" attribute
     */
    boolean isSetCreator();
    
    /**
     * Sets the "creator" attribute
     */
    void setCreator(java.lang.String creator);
    
    /**
     * Sets (as xml) the "creator" attribute
     */
    void xsetCreator(org.apache.xmlbeans.XmlString creator);
    
    /**
     * Unsets the "creator" attribute
     */
    void unsetCreator();
    
    /**
     * Gets the "label" attribute
     */
    java.lang.String getLabel();
    
    /**
     * Gets (as xml) the "label" attribute
     */
    org.apache.xmlbeans.XmlString xgetLabel();
    
    /**
     * True if has "label" attribute
     */
    boolean isSetLabel();
    
    /**
     * Sets the "label" attribute
     */
    void setLabel(java.lang.String label);
    
    /**
     * Sets (as xml) the "label" attribute
     */
    void xsetLabel(org.apache.xmlbeans.XmlString label);
    
    /**
     * Unsets the "label" attribute
     */
    void unsetLabel();
    
    /**
     * Gets the "displayLabel" attribute
     */
    java.lang.String getDisplayLabel();
    
    /**
     * Gets (as xml) the "displayLabel" attribute
     */
    org.apache.xmlbeans.XmlString xgetDisplayLabel();
    
    /**
     * True if has "displayLabel" attribute
     */
    boolean isSetDisplayLabel();
    
    /**
     * Sets the "displayLabel" attribute
     */
    void setDisplayLabel(java.lang.String displayLabel);
    
    /**
     * Sets (as xml) the "displayLabel" attribute
     */
    void xsetDisplayLabel(org.apache.xmlbeans.XmlString displayLabel);
    
    /**
     * Unsets the "displayLabel" attribute
     */
    void unsetDisplayLabel();
    
    /**
     * Gets the "language" attribute
     */
    java.lang.String getLanguage();
    
    /**
     * Gets (as xml) the "language" attribute
     */
    org.apache.xmlbeans.XmlLanguage xgetLanguage();
    
    /**
     * True if has "language" attribute
     */
    boolean isSetLanguage();
    
    /**
     * Sets the "language" attribute
     */
    void setLanguage(java.lang.String language);
    
    /**
     * Sets (as xml) the "language" attribute
     */
    void xsetLanguage(org.apache.xmlbeans.XmlLanguage language);
    
    /**
     * Unsets the "language" attribute
     */
    void unsetLanguage();
    
    /**
     * An XML objectType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.ObjectRelationType$ObjectType.
     */
    public interface ObjectType extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ObjectType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("objecttype68b7attrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum X = Enum.forString(" ");
        static final Enum SEGMENT_SEGMENT = Enum.forString("segmentSegment");
        static final Enum SEGMENT_CODE = Enum.forString("segmentCode");
        static final Enum SEGMENT_DOCUMENT = Enum.forString("segmentDocument");
        static final Enum SEGMENT_CATEGORY = Enum.forString("segmentCategory");
        static final Enum SEGMENT_MEMO = Enum.forString("segmentMemo");
        static final Enum CODE_SEGMENT = Enum.forString("codeSegment");
        static final Enum CODE_CODE = Enum.forString("codeCode");
        static final Enum CODE_DOCUMENT = Enum.forString("codeDocument");
        static final Enum CODE_CATEGORY = Enum.forString("codeCategory");
        static final Enum CODE_MEMO = Enum.forString("codeMemo");
        static final Enum DOCUMENT_SEGMENT = Enum.forString("documentSegment");
        static final Enum DOCUMENT_CODE = Enum.forString("documentCode");
        static final Enum DOCUMENT_DOCUMENT = Enum.forString("documentDocument");
        static final Enum DOCUMENT_CATEGORY = Enum.forString("documentCategory");
        static final Enum DOCUMENT_MEMO = Enum.forString("documentMemo");
        static final Enum MEMO_SEGMENT = Enum.forString("memoSegment");
        static final Enum MEMO_CODE = Enum.forString("memoCode");
        static final Enum MEMO_DOCUMENT = Enum.forString("memoDocument");
        static final Enum MEMO_CATEGORY = Enum.forString("memoCategory");
        static final Enum MEMO_MEMO = Enum.forString("memoMemo");
        static final Enum CATEGORY_SEGMENT = Enum.forString("categorySegment");
        static final Enum CATEGORY_CODE = Enum.forString("categoryCode");
        static final Enum CATEGORY_DOCUMENT = Enum.forString("categoryDocument");
        static final Enum CATEGORY_CATEGORY = Enum.forString("categoryCategory");
        static final Enum CATEGORY_MEMO = Enum.forString("categoryMemo");
        
        static final int INT_X = Enum.INT_X;
        static final int INT_SEGMENT_SEGMENT = Enum.INT_SEGMENT_SEGMENT;
        static final int INT_SEGMENT_CODE = Enum.INT_SEGMENT_CODE;
        static final int INT_SEGMENT_DOCUMENT = Enum.INT_SEGMENT_DOCUMENT;
        static final int INT_SEGMENT_CATEGORY = Enum.INT_SEGMENT_CATEGORY;
        static final int INT_SEGMENT_MEMO = Enum.INT_SEGMENT_MEMO;
        static final int INT_CODE_SEGMENT = Enum.INT_CODE_SEGMENT;
        static final int INT_CODE_CODE = Enum.INT_CODE_CODE;
        static final int INT_CODE_DOCUMENT = Enum.INT_CODE_DOCUMENT;
        static final int INT_CODE_CATEGORY = Enum.INT_CODE_CATEGORY;
        static final int INT_CODE_MEMO = Enum.INT_CODE_MEMO;
        static final int INT_DOCUMENT_SEGMENT = Enum.INT_DOCUMENT_SEGMENT;
        static final int INT_DOCUMENT_CODE = Enum.INT_DOCUMENT_CODE;
        static final int INT_DOCUMENT_DOCUMENT = Enum.INT_DOCUMENT_DOCUMENT;
        static final int INT_DOCUMENT_CATEGORY = Enum.INT_DOCUMENT_CATEGORY;
        static final int INT_DOCUMENT_MEMO = Enum.INT_DOCUMENT_MEMO;
        static final int INT_MEMO_SEGMENT = Enum.INT_MEMO_SEGMENT;
        static final int INT_MEMO_CODE = Enum.INT_MEMO_CODE;
        static final int INT_MEMO_DOCUMENT = Enum.INT_MEMO_DOCUMENT;
        static final int INT_MEMO_CATEGORY = Enum.INT_MEMO_CATEGORY;
        static final int INT_MEMO_MEMO = Enum.INT_MEMO_MEMO;
        static final int INT_CATEGORY_SEGMENT = Enum.INT_CATEGORY_SEGMENT;
        static final int INT_CATEGORY_CODE = Enum.INT_CATEGORY_CODE;
        static final int INT_CATEGORY_DOCUMENT = Enum.INT_CATEGORY_DOCUMENT;
        static final int INT_CATEGORY_CATEGORY = Enum.INT_CATEGORY_CATEGORY;
        static final int INT_CATEGORY_MEMO = Enum.INT_CATEGORY_MEMO;
        
        /**
         * Enumeration value class for uk.da.dext.ObjectRelationType$ObjectType.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_X
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_X = 1;
            static final int INT_SEGMENT_SEGMENT = 2;
            static final int INT_SEGMENT_CODE = 3;
            static final int INT_SEGMENT_DOCUMENT = 4;
            static final int INT_SEGMENT_CATEGORY = 5;
            static final int INT_SEGMENT_MEMO = 6;
            static final int INT_CODE_SEGMENT = 7;
            static final int INT_CODE_CODE = 8;
            static final int INT_CODE_DOCUMENT = 9;
            static final int INT_CODE_CATEGORY = 10;
            static final int INT_CODE_MEMO = 11;
            static final int INT_DOCUMENT_SEGMENT = 12;
            static final int INT_DOCUMENT_CODE = 13;
            static final int INT_DOCUMENT_DOCUMENT = 14;
            static final int INT_DOCUMENT_CATEGORY = 15;
            static final int INT_DOCUMENT_MEMO = 16;
            static final int INT_MEMO_SEGMENT = 17;
            static final int INT_MEMO_CODE = 18;
            static final int INT_MEMO_DOCUMENT = 19;
            static final int INT_MEMO_CATEGORY = 20;
            static final int INT_MEMO_MEMO = 21;
            static final int INT_CATEGORY_SEGMENT = 22;
            static final int INT_CATEGORY_CODE = 23;
            static final int INT_CATEGORY_DOCUMENT = 24;
            static final int INT_CATEGORY_CATEGORY = 25;
            static final int INT_CATEGORY_MEMO = 26;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum(" ", INT_X),
                    new Enum("segmentSegment", INT_SEGMENT_SEGMENT),
                    new Enum("segmentCode", INT_SEGMENT_CODE),
                    new Enum("segmentDocument", INT_SEGMENT_DOCUMENT),
                    new Enum("segmentCategory", INT_SEGMENT_CATEGORY),
                    new Enum("segmentMemo", INT_SEGMENT_MEMO),
                    new Enum("codeSegment", INT_CODE_SEGMENT),
                    new Enum("codeCode", INT_CODE_CODE),
                    new Enum("codeDocument", INT_CODE_DOCUMENT),
                    new Enum("codeCategory", INT_CODE_CATEGORY),
                    new Enum("codeMemo", INT_CODE_MEMO),
                    new Enum("documentSegment", INT_DOCUMENT_SEGMENT),
                    new Enum("documentCode", INT_DOCUMENT_CODE),
                    new Enum("documentDocument", INT_DOCUMENT_DOCUMENT),
                    new Enum("documentCategory", INT_DOCUMENT_CATEGORY),
                    new Enum("documentMemo", INT_DOCUMENT_MEMO),
                    new Enum("memoSegment", INT_MEMO_SEGMENT),
                    new Enum("memoCode", INT_MEMO_CODE),
                    new Enum("memoDocument", INT_MEMO_DOCUMENT),
                    new Enum("memoCategory", INT_MEMO_CATEGORY),
                    new Enum("memoMemo", INT_MEMO_MEMO),
                    new Enum("categorySegment", INT_CATEGORY_SEGMENT),
                    new Enum("categoryCode", INT_CATEGORY_CODE),
                    new Enum("categoryDocument", INT_CATEGORY_DOCUMENT),
                    new Enum("categoryCategory", INT_CATEGORY_CATEGORY),
                    new Enum("categoryMemo", INT_CATEGORY_MEMO),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.ObjectRelationType.ObjectType newValue(java.lang.Object obj) {
              return (uk.da.dext.ObjectRelationType.ObjectType) type.newValue( obj ); }
            
            public static uk.da.dext.ObjectRelationType.ObjectType newInstance() {
              return (uk.da.dext.ObjectRelationType.ObjectType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.ObjectRelationType.ObjectType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.ObjectRelationType.ObjectType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * An XML relationName(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.ObjectRelationType$RelationName.
     */
    public interface RelationName extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(RelationName.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("relationnamebce9attrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum IS_A = Enum.forString("isA");
        static final Enum IS_CHILD_OF = Enum.forString("isChildOf");
        static final Enum IS_PARENT_OF = Enum.forString("isParentOf");
        static final Enum IS_MEMBER_OF = Enum.forString("isMemberOf");
        static final Enum IS_DERIVED_FROM = Enum.forString("isDerivedFrom");
        static final Enum IS_REVISION_HISTORY_FOR = Enum.forString("isRevisionHistoryFor");
        static final Enum IS_CRITICAL_REVIEW_OF = Enum.forString("isCriticalReviewOf");
        static final Enum IS_OVERVIEW_OF = Enum.forString("isOverviewOf");
        static final Enum IS_VERSION_OF = Enum.forString("isVersionOf");
        static final Enum IS_FORMAT_OF = Enum.forString("isFormatOf");
        static final Enum IS_REFERENCED_BY = Enum.forString("isReferencedBy");
        static final Enum IS_BASED_ON = Enum.forString("isBasedOn");
        static final Enum IS_PART_OF = Enum.forString("isPartOf");
        static final Enum IS_ASSOCIATE_OF = Enum.forString("isAssociateOf");
        static final Enum IS_INSTANCE_OF = Enum.forString("isInstanceOf");
        static final Enum IS_LINKED_TO = Enum.forString("isLinkedTo");
        static final Enum IS_RELATED_TO = Enum.forString("isRelatedTo");
        static final Enum IS_ASSIGNED_TO = Enum.forString("isAssignedTo");
        static final Enum IS_EQUAL_TO = Enum.forString("isEqualTo");
        static final Enum IS_NOT_EQUAL_TO = Enum.forString("isNotEqualTo");
        static final Enum HAS_FORMAT = Enum.forString("hasFormat");
        static final Enum HAS_VERSION = Enum.forString("hasVersion");
        static final Enum HAS_PART = Enum.forString("hasPart");
        static final Enum HAS_BIBLIOGRAPHIC_INFO_IN = Enum.forString("hasBibliographicInfoIn");
        static final Enum REFERENCES = Enum.forString("references");
        static final Enum REQUIRES = Enum.forString("requires");
        static final Enum OTHER = Enum.forString("other");
        
        static final int INT_IS_A = Enum.INT_IS_A;
        static final int INT_IS_CHILD_OF = Enum.INT_IS_CHILD_OF;
        static final int INT_IS_PARENT_OF = Enum.INT_IS_PARENT_OF;
        static final int INT_IS_MEMBER_OF = Enum.INT_IS_MEMBER_OF;
        static final int INT_IS_DERIVED_FROM = Enum.INT_IS_DERIVED_FROM;
        static final int INT_IS_REVISION_HISTORY_FOR = Enum.INT_IS_REVISION_HISTORY_FOR;
        static final int INT_IS_CRITICAL_REVIEW_OF = Enum.INT_IS_CRITICAL_REVIEW_OF;
        static final int INT_IS_OVERVIEW_OF = Enum.INT_IS_OVERVIEW_OF;
        static final int INT_IS_VERSION_OF = Enum.INT_IS_VERSION_OF;
        static final int INT_IS_FORMAT_OF = Enum.INT_IS_FORMAT_OF;
        static final int INT_IS_REFERENCED_BY = Enum.INT_IS_REFERENCED_BY;
        static final int INT_IS_BASED_ON = Enum.INT_IS_BASED_ON;
        static final int INT_IS_PART_OF = Enum.INT_IS_PART_OF;
        static final int INT_IS_ASSOCIATE_OF = Enum.INT_IS_ASSOCIATE_OF;
        static final int INT_IS_INSTANCE_OF = Enum.INT_IS_INSTANCE_OF;
        static final int INT_IS_LINKED_TO = Enum.INT_IS_LINKED_TO;
        static final int INT_IS_RELATED_TO = Enum.INT_IS_RELATED_TO;
        static final int INT_IS_ASSIGNED_TO = Enum.INT_IS_ASSIGNED_TO;
        static final int INT_IS_EQUAL_TO = Enum.INT_IS_EQUAL_TO;
        static final int INT_IS_NOT_EQUAL_TO = Enum.INT_IS_NOT_EQUAL_TO;
        static final int INT_HAS_FORMAT = Enum.INT_HAS_FORMAT;
        static final int INT_HAS_VERSION = Enum.INT_HAS_VERSION;
        static final int INT_HAS_PART = Enum.INT_HAS_PART;
        static final int INT_HAS_BIBLIOGRAPHIC_INFO_IN = Enum.INT_HAS_BIBLIOGRAPHIC_INFO_IN;
        static final int INT_REFERENCES = Enum.INT_REFERENCES;
        static final int INT_REQUIRES = Enum.INT_REQUIRES;
        static final int INT_OTHER = Enum.INT_OTHER;
        
        /**
         * Enumeration value class for uk.da.dext.ObjectRelationType$RelationName.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_IS_A
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_IS_A = 1;
            static final int INT_IS_CHILD_OF = 2;
            static final int INT_IS_PARENT_OF = 3;
            static final int INT_IS_MEMBER_OF = 4;
            static final int INT_IS_DERIVED_FROM = 5;
            static final int INT_IS_REVISION_HISTORY_FOR = 6;
            static final int INT_IS_CRITICAL_REVIEW_OF = 7;
            static final int INT_IS_OVERVIEW_OF = 8;
            static final int INT_IS_VERSION_OF = 9;
            static final int INT_IS_FORMAT_OF = 10;
            static final int INT_IS_REFERENCED_BY = 11;
            static final int INT_IS_BASED_ON = 12;
            static final int INT_IS_PART_OF = 13;
            static final int INT_IS_ASSOCIATE_OF = 14;
            static final int INT_IS_INSTANCE_OF = 15;
            static final int INT_IS_LINKED_TO = 16;
            static final int INT_IS_RELATED_TO = 17;
            static final int INT_IS_ASSIGNED_TO = 18;
            static final int INT_IS_EQUAL_TO = 19;
            static final int INT_IS_NOT_EQUAL_TO = 20;
            static final int INT_HAS_FORMAT = 21;
            static final int INT_HAS_VERSION = 22;
            static final int INT_HAS_PART = 23;
            static final int INT_HAS_BIBLIOGRAPHIC_INFO_IN = 24;
            static final int INT_REFERENCES = 25;
            static final int INT_REQUIRES = 26;
            static final int INT_OTHER = 27;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("isA", INT_IS_A),
                    new Enum("isChildOf", INT_IS_CHILD_OF),
                    new Enum("isParentOf", INT_IS_PARENT_OF),
                    new Enum("isMemberOf", INT_IS_MEMBER_OF),
                    new Enum("isDerivedFrom", INT_IS_DERIVED_FROM),
                    new Enum("isRevisionHistoryFor", INT_IS_REVISION_HISTORY_FOR),
                    new Enum("isCriticalReviewOf", INT_IS_CRITICAL_REVIEW_OF),
                    new Enum("isOverviewOf", INT_IS_OVERVIEW_OF),
                    new Enum("isVersionOf", INT_IS_VERSION_OF),
                    new Enum("isFormatOf", INT_IS_FORMAT_OF),
                    new Enum("isReferencedBy", INT_IS_REFERENCED_BY),
                    new Enum("isBasedOn", INT_IS_BASED_ON),
                    new Enum("isPartOf", INT_IS_PART_OF),
                    new Enum("isAssociateOf", INT_IS_ASSOCIATE_OF),
                    new Enum("isInstanceOf", INT_IS_INSTANCE_OF),
                    new Enum("isLinkedTo", INT_IS_LINKED_TO),
                    new Enum("isRelatedTo", INT_IS_RELATED_TO),
                    new Enum("isAssignedTo", INT_IS_ASSIGNED_TO),
                    new Enum("isEqualTo", INT_IS_EQUAL_TO),
                    new Enum("isNotEqualTo", INT_IS_NOT_EQUAL_TO),
                    new Enum("hasFormat", INT_HAS_FORMAT),
                    new Enum("hasVersion", INT_HAS_VERSION),
                    new Enum("hasPart", INT_HAS_PART),
                    new Enum("hasBibliographicInfoIn", INT_HAS_BIBLIOGRAPHIC_INFO_IN),
                    new Enum("references", INT_REFERENCES),
                    new Enum("requires", INT_REQUIRES),
                    new Enum("other", INT_OTHER),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.ObjectRelationType.RelationName newValue(java.lang.Object obj) {
              return (uk.da.dext.ObjectRelationType.RelationName) type.newValue( obj ); }
            
            public static uk.da.dext.ObjectRelationType.RelationName newInstance() {
              return (uk.da.dext.ObjectRelationType.RelationName) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.ObjectRelationType.RelationName newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.ObjectRelationType.RelationName) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static uk.da.dext.ObjectRelationType newInstance() {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static uk.da.dext.ObjectRelationType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static uk.da.dext.ObjectRelationType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static uk.da.dext.ObjectRelationType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static uk.da.dext.ObjectRelationType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static uk.da.dext.ObjectRelationType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static uk.da.dext.ObjectRelationType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.ObjectRelationType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.ObjectRelationType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.ObjectRelationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
